package com.maybach.common.query;


import com.maybach.util.query.support.BaseQuery;
import com.maybach.util.query.support.BaseCriteria;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CarFormalitiesQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 1L;

    public CarFormalitiesQuery() {
        super();
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        super.oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This class corresponds to the database table b2b_car_formalities
     */
    protected abstract static class GeneratedCriteria extends BaseCriteria {

        protected GeneratedCriteria() {
            super();
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Date value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(Date value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(Date value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(Date value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<Date> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<Date> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(Date value1, Date value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(Date value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(Date value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(Date value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(Date value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(Date value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<Date> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<Date> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(Date value1, Date value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(Date value1, Date value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeIsNull() {
            addCriterion("receive_time is null");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeIsNotNull() {
            addCriterion("receive_time is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeEqualTo(Date value) {
            addCriterion("receive_time =", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeNotEqualTo(Date value) {
            addCriterion("receive_time <>", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeGreaterThan(Date value) {
            addCriterion("receive_time >", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("receive_time >=", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeLessThan(Date value) {
            addCriterion("receive_time <", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeLessThanOrEqualTo(Date value) {
            addCriterion("receive_time <=", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeLike(Date value) {
            addCriterion("receive_time like", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeNotLike(Date value) {
            addCriterion("receive_time not like", value, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeIn(List<Date> values) {
            addCriterion("receive_time in", values, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeNotIn(List<Date> values) {
            addCriterion("receive_time not in", values, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeBetween(Date value1, Date value2) {
            addCriterion("receive_time between", value1, value2, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveTimeNotBetween(Date value1, Date value2) {
            addCriterion("receive_time not between", value1, value2, "receiveTime");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyIsNull() {
            addCriterion("receive_company is null");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyIsNotNull() {
            addCriterion("receive_company is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyEqualTo(String value) {
            addCriterion("receive_company =", value, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyNotEqualTo(String value) {
            addCriterion("receive_company <>", value, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyGreaterThan(String value) {
            addCriterion("receive_company >", value, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("receive_company >=", value, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyLessThan(String value) {
            addCriterion("receive_company <", value, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyLessThanOrEqualTo(String value) {
            addCriterion("receive_company <=", value, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyLike(String value) {
            addCriterion("receive_company like", value, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyNotLike(String value) {
            addCriterion("receive_company not like", value, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyIn(List<String> values) {
            addCriterion("receive_company in", values, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyNotIn(List<String> values) {
            addCriterion("receive_company not in", values, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyBetween(String value1, String value2) {
            addCriterion("receive_company between", value1, value2, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveCompanyNotBetween(String value1, String value2) {
            addCriterion("receive_company not between", value1, value2, "receiveCompany");
            return (Criteria) this;
        }

        public Criteria andReceiveNoIsNull() {
            addCriterion("receive_no is null");
            return (Criteria) this;
        }

        public Criteria andReceiveNoIsNotNull() {
            addCriterion("receive_no is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveNoEqualTo(String value) {
            addCriterion("receive_no =", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoNotEqualTo(String value) {
            addCriterion("receive_no <>", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoGreaterThan(String value) {
            addCriterion("receive_no >", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoGreaterThanOrEqualTo(String value) {
            addCriterion("receive_no >=", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoLessThan(String value) {
            addCriterion("receive_no <", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoLessThanOrEqualTo(String value) {
            addCriterion("receive_no <=", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoLike(String value) {
            addCriterion("receive_no like", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoNotLike(String value) {
            addCriterion("receive_no not like", value, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoIn(List<String> values) {
            addCriterion("receive_no in", values, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoNotIn(List<String> values) {
            addCriterion("receive_no not in", values, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoBetween(String value1, String value2) {
            addCriterion("receive_no between", value1, value2, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andReceiveNoNotBetween(String value1, String value2) {
            addCriterion("receive_no not between", value1, value2, "receiveNo");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsIsNull() {
            addCriterion("formalities_imgs is null");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsIsNotNull() {
            addCriterion("formalities_imgs is not null");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsEqualTo(String value) {
            addCriterion("formalities_imgs =", value, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsNotEqualTo(String value) {
            addCriterion("formalities_imgs <>", value, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsGreaterThan(String value) {
            addCriterion("formalities_imgs >", value, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsGreaterThanOrEqualTo(String value) {
            addCriterion("formalities_imgs >=", value, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsLessThan(String value) {
            addCriterion("formalities_imgs <", value, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsLessThanOrEqualTo(String value) {
            addCriterion("formalities_imgs <=", value, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsLike(String value) {
            addCriterion("formalities_imgs like", value, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsNotLike(String value) {
            addCriterion("formalities_imgs not like", value, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsIn(List<String> values) {
            addCriterion("formalities_imgs in", values, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsNotIn(List<String> values) {
            addCriterion("formalities_imgs not in", values, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsBetween(String value1, String value2) {
            addCriterion("formalities_imgs between", value1, value2, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andFormalitiesImgsNotBetween(String value1, String value2) {
            addCriterion("formalities_imgs not between", value1, value2, "formalitiesImgs");
            return (Criteria) this;
        }

        public Criteria andSendTimeIsNull() {
            addCriterion("send_time is null");
            return (Criteria) this;
        }

        public Criteria andSendTimeIsNotNull() {
            addCriterion("send_time is not null");
            return (Criteria) this;
        }

        public Criteria andSendTimeEqualTo(Date value) {
            addCriterion("send_time =", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotEqualTo(Date value) {
            addCriterion("send_time <>", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeGreaterThan(Date value) {
            addCriterion("send_time >", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("send_time >=", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLessThan(Date value) {
            addCriterion("send_time <", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLessThanOrEqualTo(Date value) {
            addCriterion("send_time <=", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeLike(Date value) {
            addCriterion("send_time like", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotLike(Date value) {
            addCriterion("send_time not like", value, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeIn(List<Date> values) {
            addCriterion("send_time in", values, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotIn(List<Date> values) {
            addCriterion("send_time not in", values, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeBetween(Date value1, Date value2) {
            addCriterion("send_time between", value1, value2, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendTimeNotBetween(Date value1, Date value2) {
            addCriterion("send_time not between", value1, value2, "sendTime");
            return (Criteria) this;
        }

        public Criteria andSendCompanyIsNull() {
            addCriterion("send_company is null");
            return (Criteria) this;
        }

        public Criteria andSendCompanyIsNotNull() {
            addCriterion("send_company is not null");
            return (Criteria) this;
        }

        public Criteria andSendCompanyEqualTo(String value) {
            addCriterion("send_company =", value, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendCompanyNotEqualTo(String value) {
            addCriterion("send_company <>", value, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendCompanyGreaterThan(String value) {
            addCriterion("send_company >", value, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("send_company >=", value, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendCompanyLessThan(String value) {
            addCriterion("send_company <", value, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendCompanyLessThanOrEqualTo(String value) {
            addCriterion("send_company <=", value, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendCompanyLike(String value) {
            addCriterion("send_company like", value, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendCompanyNotLike(String value) {
            addCriterion("send_company not like", value, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendCompanyIn(List<String> values) {
            addCriterion("send_company in", values, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendCompanyNotIn(List<String> values) {
            addCriterion("send_company not in", values, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendCompanyBetween(String value1, String value2) {
            addCriterion("send_company between", value1, value2, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendCompanyNotBetween(String value1, String value2) {
            addCriterion("send_company not between", value1, value2, "sendCompany");
            return (Criteria) this;
        }

        public Criteria andSendNoIsNull() {
            addCriterion("send_no is null");
            return (Criteria) this;
        }

        public Criteria andSendNoIsNotNull() {
            addCriterion("send_no is not null");
            return (Criteria) this;
        }

        public Criteria andSendNoEqualTo(String value) {
            addCriterion("send_no =", value, "sendNo");
            return (Criteria) this;
        }

        public Criteria andSendNoNotEqualTo(String value) {
            addCriterion("send_no <>", value, "sendNo");
            return (Criteria) this;
        }

        public Criteria andSendNoGreaterThan(String value) {
            addCriterion("send_no >", value, "sendNo");
            return (Criteria) this;
        }

        public Criteria andSendNoGreaterThanOrEqualTo(String value) {
            addCriterion("send_no >=", value, "sendNo");
            return (Criteria) this;
        }

        public Criteria andSendNoLessThan(String value) {
            addCriterion("send_no <", value, "sendNo");
            return (Criteria) this;
        }

        public Criteria andSendNoLessThanOrEqualTo(String value) {
            addCriterion("send_no <=", value, "sendNo");
            return (Criteria) this;
        }

        public Criteria andSendNoLike(String value) {
            addCriterion("send_no like", value, "sendNo");
            return (Criteria) this;
        }

        public Criteria andSendNoNotLike(String value) {
            addCriterion("send_no not like", value, "sendNo");
            return (Criteria) this;
        }

        public Criteria andSendNoIn(List<String> values) {
            addCriterion("send_no in", values, "sendNo");
            return (Criteria) this;
        }

        public Criteria andSendNoNotIn(List<String> values) {
            addCriterion("send_no not in", values, "sendNo");
            return (Criteria) this;
        }

        public Criteria andSendNoBetween(String value1, String value2) {
            addCriterion("send_no between", value1, value2, "sendNo");
            return (Criteria) this;
        }

        public Criteria andSendNoNotBetween(String value1, String value2) {
            addCriterion("send_no not between", value1, value2, "sendNo");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsIsNull() {
            addCriterion("logistics_imgs is null");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsIsNotNull() {
            addCriterion("logistics_imgs is not null");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsEqualTo(String value) {
            addCriterion("logistics_imgs =", value, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsNotEqualTo(String value) {
            addCriterion("logistics_imgs <>", value, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsGreaterThan(String value) {
            addCriterion("logistics_imgs >", value, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsGreaterThanOrEqualTo(String value) {
            addCriterion("logistics_imgs >=", value, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsLessThan(String value) {
            addCriterion("logistics_imgs <", value, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsLessThanOrEqualTo(String value) {
            addCriterion("logistics_imgs <=", value, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsLike(String value) {
            addCriterion("logistics_imgs like", value, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsNotLike(String value) {
            addCriterion("logistics_imgs not like", value, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsIn(List<String> values) {
            addCriterion("logistics_imgs in", values, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsNotIn(List<String> values) {
            addCriterion("logistics_imgs not in", values, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsBetween(String value1, String value2) {
            addCriterion("logistics_imgs between", value1, value2, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andLogisticsImgsNotBetween(String value1, String value2) {
            addCriterion("logistics_imgs not between", value1, value2, "logisticsImgs");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdIsNull() {
            addCriterion("out_order_id is null");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdIsNotNull() {
            addCriterion("out_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdEqualTo(Long value) {
            addCriterion("out_order_id =", value, "outOrderId");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdNotEqualTo(Long value) {
            addCriterion("out_order_id <>", value, "outOrderId");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdGreaterThan(Long value) {
            addCriterion("out_order_id >", value, "outOrderId");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("out_order_id >=", value, "outOrderId");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdLessThan(Long value) {
            addCriterion("out_order_id <", value, "outOrderId");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("out_order_id <=", value, "outOrderId");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdLike(Long value) {
            addCriterion("out_order_id like", value, "outOrderId");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdNotLike(Long value) {
            addCriterion("out_order_id not like", value, "outOrderId");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdIn(List<Long> values) {
            addCriterion("out_order_id in", values, "outOrderId");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdNotIn(List<Long> values) {
            addCriterion("out_order_id not in", values, "outOrderId");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdBetween(Long value1, Long value2) {
            addCriterion("out_order_id between", value1, value2, "outOrderId");
            return (Criteria) this;
        }

        public Criteria andOutOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("out_order_id not between", value1, value2, "outOrderId");
            return (Criteria) this;
        }

    }

    /**
     * This class corresponds to the database table b2b_car_formalities
    */
    public  static class Criteria extends GeneratedCriteria{
        protected Criteria() {
            super();
        }
    }



    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}